<%--
  Created by IntelliJ IDEA.
  User: DZP
  Date: 2021/6/15
  Time: 11:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>主页</title>
    <style type="text/css">
        #box{
            width:850px;
            margin:0 auto;
        }
        #top{
            width:850px;
            height:120px;
            background-color:RGB(99,175,233);

            border:2px solid RGB(99,175,233);
        }
        #left{
            width:105px;
            height:498px;
            float:left;
            background-color:RGB(99,175,233);
            text-align: left;
            border:1px solid RGB(99,175,233);


        }
        #banner{
            float:left;
            width:850px;
            height:41px;
            border:2px solid RGB(99,175,233);

        }
        #right{
            width:741px;
            height:500px;
            float:left;

        }
        #if{
            width:744px;
            height:496px;
            border:2px solid RGB(99,175,233);

        }
        body{
            width:100%;
            height:100%;

        }
        a{
            text-decoration: none;

        }
        ul{
            list-style-type: none;
            padding:0 20px;
        }
        #banneruser{
            width:160px;
            height:22px;
            margin-top: 9px;
            margin-left: 18px;
        }
    </style>
</head>

<body>
<div id="box">
    <div id="top">

    </div>
    <div id="banner">
        <!-- 显示当前用户，参数需和登录页用户名字段相符 -->
        <div id="banneruser">当前用户:<a href="">${name}</a></div>
    </div>
    <div id="left">
        <ul>
            <li>
                <a href="getGoods" target="frame">显示产品</a>
            </li>
            <li>
                <a href="insertjsp" target="frame">添加产品</a>
            </li>
            <li>
                <a href="getUsers" target="frame">显示用户</a>
            </li>


        </ul>
    </div>

    <div id="right">
        <iframe id="if" name="frame"></iframe>
    </div>
</div>
</body>
</html>
